//
//  RNCommunityGuidesModule.m
//  IHome
//
//  Created by 朱吉峥 on 2020/2/11.
//  Copyright © 2020 com.zhujizheng. All rights reserved.
//

#import "RNCommunityGuidesModule.h"

@implementation RNCommunityGuidesModule

RCT_EXPORT_MODULE()

RCT_REMAP_METHOD(guides_commentAction, commentWithDict:(NSDictionary *)dict) {
    [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:@"PYRNPushToNextControllerNotification" object:dict];
}

RCT_REMAP_METHOD(guides_clickCellAction, clickCellWithDict:(NSDictionary *)dict) {
    [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:@"PYRNPushToNextControllerNotification" object:dict];
}

@end
